package com.CMS.server.domain;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Inheritance;
import javax.persistence.InheritanceType;
import javax.persistence.Table;

@Entity
@Inheritance(strategy = InheritanceType.JOINED)
@Table(name = EntityTokens.ADMINISTRATION_TABLE)
public class Administration extends BaseEntity{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = -3830146024004813870L;

	@Column(name = EntityTokens.ADMINISTRATION_MAIL_COLUMN)
	protected String mail;
	
	@Column(name = EntityTokens.ADMINISTRATION_TELEPHONE_COLUMN)
	protected String telephone;
	
	@Column(name = EntityTokens.ADMINISTRATION_URL_COLUMN)
	protected String url;
	
	@Column(name = EntityTokens.ADMINISTRATION_DIRECCION_COLUMN)
	protected String direccion;
	
	@Column(name = EntityTokens.ADMINISTRATION_RAZON_COLUMN)
	protected String razonSocial;
	
	public Administration(){
		super();
	}
		
	public String getMail() {
		return mail;
	}
	public void setMail(String mail) {
		this.mail = mail;
	}
	public String getTelephone() {
		return telephone;
	}
	public void setTelephone(String telephone) {
		this.telephone = telephone;
	}
	public String getUrl() {
		return url;
	}
	public void setUrl(String url) {
		this.url = url;
	}
	public String getDireccion() {
		return direccion;
	}
	public void setDireccion(String direccion) {
		this.direccion = direccion;
	}
	public String getRazonSocial() {
		return razonSocial;
	}
	public void setRazonSocial(String razonSocial) {
		this.razonSocial = razonSocial;
	}
}
